package com.tsinghua.discharge.dao;

import com.tsinghua.discharge.model.GcamResult;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface GcamResultMapper {
    int deleteByPrimaryKey(@Param("resultGcamId") Integer resultGcamId, @Param("resultRegionId") Integer resultRegionId);

    int insert(GcamResult record);

    int insertSelective(GcamResult record);

    GcamResult selectByPrimaryKey(@Param("resultGcamId") Integer resultGcamId, @Param("resultRegionId") Integer resultRegionId);

    int updateByPrimaryKeySelective(GcamResult record);

    int updateByPrimaryKey(GcamResult record);
    int selectRepeat(GcamResult record);
    int deleteByGcamId(@Param("gcamId") Integer gcamId,@Param("userId") Integer userId);
}